import React from 'react';
import PropTypes from 'prop-types';

export default class AppleEmpty extends React.Component {
  static propTypes = {
    text: PropTypes.string.isRequired,
  }

  static defaultProps = {
    text: '',
  }

  render() {
    const { text } = this.props;

    return (
      <div className="apple__empty">{ text }</div>
    );
  }
}
